<%@ page import="com.scalar.chiptrack.utils.ConfigManager"%>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> 
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>


<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>

<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>
</HEAD>
<BODY bgColor="#ffffff" leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<SCRIPT language="JavaScript"> 
	function cancelContactPerson()
	{
    	 window.close();
	}

</SCRIPT>
<br>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
	<TR>
	<Td align="center">
		<center><span class="NArialW">Vendor Contact Persons </span></center>
		<img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20>
	</Td>
	</tr>
	<tr>
	<td>
		<table width = "90%">
		<tr>
			<td align = "right"><font class = "NArialL"><a href="javascript:cancelContactPerson();">[Close]</a></font></td>
		</tr>
		</table>
	</td>
	</tr>
    <tr>
    <td>
		<html:form  name="viewContactPersonForm" type="com.scalar.chiptrack.ChipTrackActionForm" action="/viewContactPerson.do" >
		<table border="0" width="92%" align=right>
		<tr><td colspan='5'>&nbsp;</TD></TR>
			<nested:iterate property="contactPersonList" type="com.scalar.chiptrack.commons.Address"> 
			<nested:hidden property="addressId"/>
			<!-- START -->
			<tr bgcolor="#DEE1E2" height="23">
				<td width="20%"><font class="NArialL" >Contact Person :</font></td>
				<td width="20%" align="right"><font class="NArialL" >Active: </font></td>
				<td width="8%"><nested:checkbox property="active" disabled="true" /></td>
				<td width="20%" align="right"><font class="NArialL" >Default: </font></td>
				<td width="32%"><nested:checkbox property="defaultAddress" disabled="true" /></td></font>
			</tr>
			<tr>
				<td width="20%" ><font class="NArialL" >Contact Person :	</td>
				<td width="20%" ><font class="bodytext"><nested:write property="contactPerson"  /></font></td>
				<td width="8%" >&nbsp;</td>
				<td width="20%" ><font class="NArialL" >Email :</font> </td>
				<td width="32%" ><font class="bodytext"><nested:write property="email"  /></font></td>
			</tr>
			<tr>
				<td width="20%" ><font class="NArialL" >Phone :</font></td>
				<td width="20%" ><font class="bodytext"><nested:write property="phoneNumber"  /></font></td>
				<td width="8%" >&nbsp;</td>
				<td width="20%" ><font class="NArialL" >Fax :</font></td>
				<td width="32%" ><font class="bodytext"><nested:write property="faxNumber"  /></font></td>
			</tr>
			<tr>
				<td width="20%" ><font class="NArialL" >Cell Number :</font></td>
				<td width="20%" ><font class="bodytext"><nested:write property="cellNumber"  /></font></td>
				<td width="8%" >&nbsp;</td>
				<td width="20%" ><font class="NArialL" >&nbsp;</font></td>
				<td width="32%" >&nbsp;</td>
			</tr>
			<tr>
				<td width="20%" ><font class="NArialL" >Address 1 :</font></td>
				<td width="20%" ><font class="bodytext"><nested:write property="address1"  /></font></td>
				<td width="8%" >&nbsp;</td>
				<td width="20%" ><font class="NArialL" >Address 2 :</font></td>
				<td width="32%" ><font class="bodytext"><nested:write property="address2"  /></font></td>
			</tr>
			<tr>
				<td width="20%" ><font class="NArialL" >Address 3 :</font></td>
				<td width="20%" ><font class="bodytext"><nested:write property="address3"  /></font></td>
				<td width="8%" >&nbsp;</td>
				<td width="20%" ><font class="NArialL" >Address 4 :</font></td>
				<td width="32%" ><font class="bodytext"><nested:write property="address4"  /></font></td>
			</tr>
			<tr>
				<td width="20%" ><font class="NArialL" >City :</font></td>
				<td width="20%" ><font class="bodytext"><nested:write property="city"  /></font></td>
				<td width="8%" >&nbsp;</td>
				<td width="20%" ><font class="NArialL" >State :</font></td>
				<td width="32%" ><font class="bodytext"><nested:write property="state"  /></font></td>
			</tr>
			<tr>
				<td width="20%" ><font class="NArialL" >Zip :</font></td>
				<td width="20%" ><font class="bodytext"><nested:write property="zipCode"  /></font></td>
				<td width="8%" >&nbsp;</td>
				<td width="20%" ><font class="NArialL" >Country :</font></td>
				<td width="32%" ><font class="bodytext"><nested:write property="country"  /></font></td>
			</tr>
			<!-- END -->
			</nested:iterate>
			<tr><td colspan='5' >&nbsp;</td></tr>
			<tr><td colspan=5>&nbsp;</tr>  
			<tr><td colspan=5>&nbsp;</tr>  
			<tr><td colspan=5><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20></td></tr>
		</table>
		</Td>
		</tr>
		<Tr>
		<td>
			<table width = "90%">
			<tr>
				<td align = "right"><font class = "NArialL"><a href="javascript:cancelContactPerson();">[Close]</a></font></td>
			</tr>
			</table>
			<BR><BR><BR>
		</td>
	   </tr>
	</html:form>

</TABLE>
</BODY>
</HTML>